package com.qqtech.qquan.im.service;

import java.sql.Timestamp;
import java.util.List;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.im.model.ImMessage;
import com.qqtech.qquan.im.model.ImMessageVo;

public interface ImMessageService extends BaseService<ImMessage>{

	public List<ImMessageVo> get2UserMessages(Integer userId1,Integer userId2,Timestamp startTime);
	public List<ImMessageVo> getGroupMessages(Integer groupId,Timestamp startTime);
	
}